package cn.bgs.pojo;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Portal对象", description="")
public class Portal implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门户表自增id")
    private Integer portalId;

    @ApiModelProperty(value = "第几门户")
    private Integer howPortal;

    @ApiModelProperty(value = "房屋用途（住宅、商业用地、商住两用）")
    private String houseUse;

    @ApiModelProperty(value = "房屋状态（自住、闲置、出租、出借）")
    private String state;

    @ApiModelProperty(value = "默认房屋（是，否）")
    private String defaultState;

    @ApiModelProperty(value = "审核状态（成功、认证中、失败）")
    private String auditState;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "中间表")
    private List<CellIntermediate> cellIntermediates;
    @ApiModelProperty(value = "楼栋表")
    private List<Building> buildings;
    @ApiModelProperty(value = "楼栋表")
    private String buildingId;
    @ApiModelProperty(value = "小区id")
    private String communityId;
}
